package Lib3d.MyUtils;


import Lib3d.PresetModel3d.Sphere;

/**
 * A handy debug implementation.
 * 
 * @author Wassim Chegham
 * @version 0.1
 * @category Lib3d.MyUtils
 * 
 */
public class Debug {
    public static int gluDrawStyle = Sphere.GLU_FILL;
    public static boolean ANIMATION_SPEED_UP = false;
    public static boolean ANIMATION_SPEED_DOWN = false;
    public static boolean showSingleBBox = false;
    public static boolean showGlobalBBox = false;
    public static boolean showHelp = true;
    public static boolean showMasses = false;
    public static boolean showHairs = true;
    public static boolean showAxis = true;

    public static String[] getHelpMessage() {
        return new String[] {
                "[n] toggle INDIVIDUAL bounding volumes",
                "[b] toggle OUTTER bounding volumes", "[q,left] move left",
                "[d,right] move right", "[s,bottom] move backward",
                "[(q,left)+shift] turn clockwise",
                "[(d,right)+shift] turn anticlockwise", "[z,up] move forward",
                "[c] change animation sense", "[a] toggle animation",
                "[h] show/hide this help", "[1,2,3] view axis: X, Y, Z",
                "[m] draw masses (!!!!)", "[l,f] draw style: LINE, FILL",
                "[p] show hairs", "[page_up] animation speed++",
                "[page_down] animation speed--", "[x] toggle axis", "", ""
        };
    }
}
